#!/usr/bin/python

from app import app
from flask_script import Manager

mapp = Manager(app)


@mapp.command
def create_db():
    from migrations import db
    db.create_db()
    print("Db created")


if __name__ == "__main__":
    mapp.run()
